/**
 * Copyright (c) 2009, 2010  Collaborative Development Group, C.S. Dept., University of Bari
 *
 * All rights reserved. This program and the accompanying materials are made available under
 * the terms of the Eclipse Public License v1.0  which accompanies this distribution, and is 
 * available at http://www.eclipse.org/legal/epl-v10.html
 */
package it.uniba.di.cdg.jtalk.ui.login;

import it.uniba.di.cdg.jtalk.core.LoginFailedException;
import it.uniba.di.cdg.penelope.ui.annotation.Model;

import com.google.inject.ImplementedBy;

/**
 * 
 */
@Model( "login" )
@ImplementedBy( LoginModel.class )
public interface ILoginModel {

	void logIn( String userName, String password, boolean rememberPassword, boolean automaticLogin ) throws LoginFailedException;

	void logOff();
	
	void log( int logLevel, String message );
}
